home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2004 #2 / K-CD-2-2004.ISO / Fire Chief / data1.cab / Program_Executable_Files / data / states / Description.txt < prev    next >
Encoding:
Text File  |  2003-05-28  |  4.7 KB  |  111 lines

  1. **** Description des render states ****
  2.  
  3. Chaque nom peut Ωtre suivi de Free ou bien des paramΦtres indiquΘs ci dessous:
  4.  
  5.  
  6.  
  7. //-------------------- General ----------------------
  8. mgStateFillMode         Point - Line - Solid
  9. mgStateCullMode         CW - CCW - Both
  10. mgStateShadeMode         Flat - Gouraud - Phong
  11. mgStateClip                 Y - N
  12. mgStateDither            Y - N
  13. mgStateLinePattern        <integer>    <bits>
  14.  
  15. //-------------------- ZBuffer ----------------------
  16. mgStateZBuffer                 Y - N - UseW
  17. mgStateZBufferWrite        Y - N
  18. mgStateZBufferFunc          Never - Always - Less - LessEqual - Greater - GreaterEqual - Equal - NotEqual
  19. mgStateZBufferBias          <integer [0-16]>
  20.     
  21. //-------------------- Stencil ----------------------
  22. mgStateStencil            Y - N
  23. mgStateStencilFail        Keep - Zero - Replace - IncrSat - DecrSat - Invert - Incr - Decr
  24. mgStateStencilZFail        idem
  25. mgStateStencilPass        idem
  26. mgStateStencilRef        <integer>
  27. mgStateStencilMask        <mask>
  28. mgStateStencilWriteMask        <mask>
  29.  
  30. //-------------------- Texture ----------------------
  31. mgStateTexture             Y - N
  32. mgStateTextureFactor        <mgColor>
  33. mgStateTextureOp        <stage>        Disable - SelectArg1 - SelectArg2 - Modulate - Modulate2x - 
  34.                         Modulate4x - Add - AddSigned - AddSigned2X - Subtract - AddSmooth - 
  35.                         BlendDiffuseAlpha - BlendTextureAlpha - BlendFactorAlpha - 
  36.                         BlendTextureAlphaPM - BlendCurrentAlpha - Premodulate - 
  37.                         ModulateAlpha_AddColor - ModulateColor_AddAlpha - 
  38.                         ModulateInvAlpha_AddColor, - ModulateInvColor_AddAlpha - BumpEnvMap -
  39.                         BumpEnvMapLumminance - DotProduct3 - MultiplyAdd - Lerp
  40. mgStateTextureArg1        <stage>        Texture - Diffuse - Current - TFactor - Specular - Temp
  41. mgStateTextureArg2        <stage>        idem
  42. mgStateTextureArg3        <stage>        idem
  43. mgStateTextureAlphaOp        <stage>        Disable - SelectArg1 - SelectArg2 - Modulate - Modulate2x - 
  44.                         Modulate4x - Add - AddSigned - AddSigned2X - Subtract - AddSmooth - 
  45.                         BlendDiffuseAlpha - BlendTextureAlpha - BlendFactorAlpha - 
  46.                         BlendTextureAlphaPM - BlendCurrentAlpha - Premodulate - 
  47.                         DotProduct3 - MultiplyAdd - Lerp
  48. mgStateTextureAlphaArg1        <stage>        Texture - Diffuse - Current - TFactor - Specular - Temp
  49. mgStateTextureAlphaArg2        <stage>        idem
  50. mgStateTextureAlphaArg3        <stage>        idem
  51. mgStateTextureResultArg        <stage>        Current - Temp
  52. mgStateTextureCoordIndex    <stage>        <integer [0-7]>
  53. mgStateTextureWrapU        <stage>        Wrap - Mirror - Clamp - Border - MirrorOnce
  54. mgStateTextureWrapV        <stage>        idem
  55. mgStateTextureWrapW        <stage>        idem
  56. mgStateTextureBorderColor    <stage>        <mgColor>
  57. mgStateTextureMinFilter        <stage>        Point - Linear - Anisotropic - FlatCubic - GaussianCubic
  58. mgStateTextureMagFilter        <stage>        idem
  59. mgStateTextureMipFilter        <stage>        idem
  60. mgStateTextureMipMap        <stage>        Y - N
  61. mgStateTextureMipMapLODBias    <stage>        <float>
  62. mgStateTextureMaxMipLevel        <stage>        <unsigned integer>
  63. mgStateTextureTransform             <stage>        Disable - Count1 - Count2 - Count3 - Count4 - Count1 Projected - 
  64.                         Count2 Projected - Count3 Projected - Count4 Projected
  65. mgStateTextureBumpEnvMat00    <stage>        <float value>
  66. mgStateTextureBumpEnvMat01    <stage>        <float value>
  67. mgStateTextureBumpEnvMat10    <stage>        <float value>
  68. mgStateTextureBumpEnvMat11    <stage>        <float value>
  69. mgStateTextureBumpEnvLScale    <stage>        <float value>
  70. mgStateTextureBumpEnvLOffset     <stage>        <float value>
  71.  
  72. //-------------------- AlphaBlend -------------------
  73. mgStateAlphaBlend         Y - N
  74. mgStateAlphaBlendSrc        Zero - One - SrcColor - InvSrcColor - SrcAlpha - InvSrcAlpha -
  75.                 DestAlpha - InvDestAlpha - DestColor - InvDestColor - SrcAlphaSat -
  76.                 BothSrcAlpha - BothInvSrcAlpha 
  77. mgStateAlphaBlendDest        idem
  78. mgStateAlphaBlendOp        Add - Subtract - RevSubtract - Min - Max
  79.  
  80. //-------------------- AlphaTest --------------------
  81. mgStateAlphaTest         Y - N
  82. mgStateAlphaTestFunc        Never - Always - Less - LessEqual - Greater - GreaterEqual - Equal - NotEqual
  83. mgStateAlphaTestRef         <integer [0-255]>
  84.  
  85. //-------------------- Fog --------------------------
  86. mgStateFog                Y - N
  87. mgStateFogDistStart            <float [0.0-1.0]>
  88. mgStateFogDistEnd           <float [0.0-1.0]>
  89. mgStateFogDistColor         <mgColor>
  90.  
  91. //-------------------- Light ------------------------
  92. mgStateLight                Y - N
  93. mgStateAmbientColor        <mgColor>
  94. mgStateColorVertex        Y - N
  95. mgStateNormalizeNormals     Y - N
  96. mgStateSpecular             Y - N
  97. mgStateLocalViewer        Y - N
  98. mgStateDiffuseMatSource     Material - Color1 - Color2
  99. mgStateSpecularMatSource     idem
  100. mgStateAmbientMatSource      idem
  101. mgStateEmissiveMatSource     idem
  102.  
  103. //-------------------- PointSize --------------------
  104. mgStatePointSize        <float>
  105. mgStatePointSizeMin        <float>
  106. mgStatePointSizeMAx        <float>
  107. mgStatePointSprite        Y - N
  108. mgStatePointScale        Y - N
  109. mgStatePointScaleA        <float>
  110. mgStatePointScaleB        <float>
  111. mgStatePointScaleC        <float>